package com.fanrenqiji.service;

import com.fanrenqiji.common.service.IBaseService;
import com.fanrenqiji.vo.MessageBoardVO;

import java.util.List;

/**
 * Created by yanwt on 2017/3/22.
 */
public interface IMessageBoardService extends IBaseService<MessageBoardVO> {

    /**
     * 根据学生id 课程id 获取最新课程问题列表
     *
     * @param studentId
     * @param courseId
     * @param time
     * @return
     */
    List<MessageBoardVO> getNewMessage(String studentId, String courseId, String time);


    /**
     * 根据学生id 课程id 获取课程历史问题列表
     *
     * @param studentId
     * @param courseId
     * @param time
     * @return
     */
    List<MessageBoardVO> getOldMessage(String studentId, String courseId, String time);
}
